a11y: Redo notebook page management
authorBenjamin Otte <otte@redhat.com>
Wed, 29 Jun 2011 13:23:06 +0000 (15:23 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:55 +0000 (16:08 -0400)
commit790d8e324b7e7af6e81b6a98af004c4cc0797109
tree3b7ebdc54ff5e83b9281c41e6c5d71a42aaf6ac7
parent9cf9abd5b037b4804aebd6ef8d68a35e001046a8
a11y: Redo notebook page management

Previously, the code tried to track the indexes of the pages and keep
them up to date in a list and tracking the index in the
GtkNotebookPage. Now, we store the widget we are tracking in the
GailNotebookPage and keep a hash table of widget=>GailNotebookPage in the
GailNotebook. This frees us from the burden of tracking page changes.
gtk/a11y/gailnotebook.c
gtk/a11y/gailnotebook.h
gtk/a11y/gailnotebookpage.c
gtk/a11y/gailnotebookpage.h